import { service } from './request.js'

//补贴管理
export default {
  //查询
  fetchList(data) {
    return service({
      url: `lyitech/hire/subsidymanagement/list`,
      method: 'get',
      data,
    })
  },
  //新增
  save(data) {
    return service({
      url: `lyitech/hire/subsidymanagement/save`,
      method: 'post',
      data,
    })
  },
  //查看
  check(id) {
    return service({
      url: `lyitech/hire/subsidymanagement/info/${id}`,
      method: 'get',
    })
  },

  //编辑
  update(data) {
    return service({
      url: `lyitech/hire/subsidymanagement/update`,
      method: 'post',
      data,
    })
  },
  //删除
  delete(data) {
    return service({
      url: `lyitech/hire/subsidymanagement/delete`,
      method: 'post',
      data,
    })
  },
}
